package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastBusinessBusnameauditing implements Serializable {
    private Integer id;

    private Date audtime;

    private Integer auditing;

    private Integer busid;

    private Integer busaccid;

    private Date createtime;

    private String name;

    private String oldname;

    private Integer agentid;

    private String agentname;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastBusinessBusnameauditing withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getAudtime() {
        return audtime;
    }

    public RunfastBusinessBusnameauditing withAudtime(Date audtime) {
        this.setAudtime(audtime);
        return this;
    }

    public void setAudtime(Date audtime) {
        this.audtime = audtime;
    }

    public Integer getAuditing() {
        return auditing;
    }

    public RunfastBusinessBusnameauditing withAuditing(Integer auditing) {
        this.setAuditing(auditing);
        return this;
    }

    public void setAuditing(Integer auditing) {
        this.auditing = auditing;
    }

    public Integer getBusid() {
        return busid;
    }

    public RunfastBusinessBusnameauditing withBusid(Integer busid) {
        this.setBusid(busid);
        return this;
    }

    public void setBusid(Integer busid) {
        this.busid = busid;
    }

    public Integer getBusaccid() {
        return busaccid;
    }

    public RunfastBusinessBusnameauditing withBusaccid(Integer busaccid) {
        this.setBusaccid(busaccid);
        return this;
    }

    public void setBusaccid(Integer busaccid) {
        this.busaccid = busaccid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastBusinessBusnameauditing withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getName() {
        return name;
    }

    public RunfastBusinessBusnameauditing withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getOldname() {
        return oldname;
    }

    public RunfastBusinessBusnameauditing withOldname(String oldname) {
        this.setOldname(oldname);
        return this;
    }

    public void setOldname(String oldname) {
        this.oldname = oldname == null ? null : oldname.trim();
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastBusinessBusnameauditing withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastBusinessBusnameauditing withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", audtime=").append(audtime);
        sb.append(", auditing=").append(auditing);
        sb.append(", busid=").append(busid);
        sb.append(", busaccid=").append(busaccid);
        sb.append(", createtime=").append(createtime);
        sb.append(", name=").append(name);
        sb.append(", oldname=").append(oldname);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}